package models

type SendStatus struct {
	Code int `json:"code" required:"true" description:"0:发表成功,..."`
	ErrMsg string `json:"msg" required:"true" description:"错误信息"`
}

type CommentStatus struct {
	Code int `json:"code" required:"true" description:"0:获取成功,..."`
	ErrMsg string `json:"msg" required:"true" description:"错误信息"`
	CurPage int `json:"cur_pag" required:"true" description:"当前页 不分页时默认值为0"`
	Total int `json:"size" required:"true" description:"请求的条目"`
	Data []*CommentInfo `json:"data" required:"true" description:"评论内容列表"`
}

type CommentInfo struct {
	Id int `json:"code" required:"true" description:"评论id"`
	Content string `json:"content" required:"true" description:"评论内容"`
	NickName string `json:"nick_name" required:"true" description:"评论昵称"`
}
